﻿

using SqlSugar;

namespace Inventorycount.Domain
{
    /// <summary>
    /// 审计字段
    /// </summary>
    public class BaseEnty
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id {  get; set; }
        [SugarColumn(IsNullable = true)]
        public int AddUserId {  get; set; }
        [SugarColumn(IsNullable = true)]
        public DateTime? AddDateTime { get; set; }
        [SugarColumn(IsNullable = true)]
        public int UpdateUserId {  get; set; }
        [SugarColumn(IsNullable = true)]
        public DateTime? UpdateDateTime { get; set; }
        [SugarColumn (IsNullable = true)]
        public int DeleteUserId { get; set; }
        [SugarColumn(IsNullable = true)]
        public DateTime? DeleteDateTime { get; set; }

        public bool IsDeleted { get; set; }
    }
}
